package com.zhou.spring.cloud.balancer.feign.mode;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 18576666986
 * @description
 * @createDate 2022/7/22 10:14
 */
@Data
public class SocialInsuranceQueryDto {

    @JsonProperty("access_token")
    private String accessToken;

    private Req req = new Req();

    private Page page = new Page();

    private Param[] params;

    @Data
    public static class Req {
        private String token = "c33bed4036584739a988b02bd9e625b9";
        private String subscribeId = "61d715d1ea7a461a863cdaa7db97f385";
        private String userId = "fbdc8358db1e4812995482f58198383e";
    }

    @Data
    public static class Page {
        private String index = "1";
        private String rows = "100";
    }


    /**
     * AAB001	单位社保系统编号	String
     * AAB004	单位名称	String
     * AAC001	个人编号（社保系统）	String
     * AAE140	险种类型	String
     * AAC002	公民身份号码	String
     * AAC003	姓名	String
     * AAE041	缴费年月	String
     * AAC037	缴费状态	String
     * AAE180	缴费基数	String
     * AAB301	行政区划代码	String
     * AAE022	个人应缴金额	String
     */
    @NoArgsConstructor
    @AllArgsConstructor
    @Data
    public static class Param {

        private String fieldCode;
        private String operateCode;
        private String parameterValue;


    }
}
